<%@ Register TagPrefix="uc1" TagName="HTDateBox" Src="../HTDateBox/HTDateBox.ascx" %>
<%@ Control Language="vb" AutoEventWireup="false" Codebehind="ChangeLog.ascx.vb" Inherits="HiTrack_4.ChangeLog" TargetSchema="http://schemas.microsoft.com/intellisense/ie5" %>
<table border="1">
	<tr>
		<td>
			<table border="0" cellspacing="1" width="400" bordercolor=#000000 bordercolordark=#000000 bordercolorlight = #000000>
				<tr>
					<td>Start Date:
						<uc1:htdatebox id="startDate" runat="server"></uc1:htdatebox></td>
					<td><asp:HyperLink id="linkForXMLCL" runat="server" Visible="False">Click Here to Download Log</asp:HyperLink></td>
					<td></td>
				</tr>
				<tr>
					<td>
						<asp:RadioButtonList id="radioListChangeLog" cssClass="prompt_text" runat="server">
							<asp:ListItem Value="B" Selected="True">Browse Log</asp:ListItem>
							<asp:ListItem Value="X">Export to XML File</asp:ListItem>
						</asp:RadioButtonList>
					</td>
					<td>
						<asp:Button id="btnLoadLog" runat="server" Text="Load Log"></asp:Button></td>
				</tr>
				<tr>
					<td colspan="3" align="center">
						<div style="OVERFLOW: auto; WIDTH: 780px; HEIGHT: 500px">
							<asp:DataGrid id="dgChangeLog" runat="server" AutoGenerateColumns=False>
										<SelectedItemStyle CssClass="grid_selected_item"></SelectedItemStyle>
			<AlternatingItemStyle CssClass="grid_alt_item"></AlternatingItemStyle>
			<ItemStyle CssClass="grid_item"></ItemStyle>
			<HeaderStyle CssClass="grid_header"></HeaderStyle>
			<Columns>
				<asp:BoundColumn DataField="Entity" HeaderText="Entity"></asp:BoundColumn>
				<asp:BoundColumn DataField="entity_type" HeaderText="Entity Type"></asp:BoundColumn>
				<asp:BoundColumn DataField="change_field" HeaderText="Field Changed"></asp:BoundColumn>
				<asp:BoundColumn DataField="original_value" HeaderText="Original"></asp:BoundColumn>
				<asp:BoundColumn DataField="new_value" HeaderText="Changed To"> </asp:BoundColumn>
				<asp:BoundColumn DataField="change_datetime" HeaderText="Date"></asp:BoundColumn>
				<asp:BoundColumn DataField="change_user_id" HeaderText="User"></asp:BoundColumn>
			</Columns>
							</asp:DataGrid></div>
					</td>
				</tr>
				<tr>
					<td><asp:Label ID="lblMessage" Runat="server"></asp:Label></td>
				</tr>
				<TR>
					<TD>
						</TD>
				</TR>
			</table>
		</td>
	</tr>
</table>
